random file name
now i am getting all images in a file using the function glob
[code:2lawujx4]$files = glob("../images/gallery/".$x."thumbnails/*.jpg")[/code:2lawujx4]
after that i store it in an array
[code:2lawujx4]foreach ($files as $value)[/code:2lawujx4]
all that i need is to make the $value to produce random value from the array produced by foreach function...
when i echo the image i want it to be random.. thats all that i need